package cosc617_blackteam;

/**
 * @author Laura
 * an enum associated with seating strategies
 */
public enum SeatingStrategy {
	SPLIT_AND_COMBINE, FIFO;
	
	public I_SeatingStrategy getStrategy(TableCollections tables){
		switch(this){
		case SPLIT_AND_COMBINE: return new PushAndPullTableStrat(tables);
		case FIFO: return new FIFOSeatingStrategy(tables);
		default: return null;
		}
	}
}
